const http = require('http');
const server = http.createServer((req, res) => {
    if (req.method === 'POST') {
        console.log(req.url);
        req.pipe(res)
    }
})

server.listen(8000, () => {
    console.log('server running on localhost:8000');
});
